Skip to content
QtWS25 Last Chance
  • QPixmap load big images

    General and Desktop qpixmap load big images max size
    5
    0 Votes
    5 Posts
    3k Views
    D
    No and that's the point, I want to resize my image with the optimized size to display it. The size could be the size maximum that I can load depending on the memory available. And so my question is precisely, how to calculate this optimized size for resizing my image depending on the memory available, to display my image even if it is too large (in a QPixmap added within a QGraphicsScene through a QGraphicsPixmapItem)?